package learning.designpatterns.strategy.payments;

/**
 * Created by bibro on 16.03.14.
 */
public class PaypalStrategy implements PaymentStrategy {
    private String loginId;
    private String password;

    public PaypalStrategy(String loginId, String password) {
        this.loginId = loginId;
        this.password = password;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public void pay(int amount) {
        System.out.println("Paying - [ " + amount + " ] using paypal");
    }


}
